/*
 * ComboItemImp.java
 *
 * Created on December 15, 2005, 1:13 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package ge.ktapestry.propertyselections;

/**
 *
 * @author Koka
 */
public class ComboItemImpl implements IComboItem
{
    
    private String uniqueID;
    private String displayName;
    /** Creates a new instance of ComboItemImp */
    public ComboItemImpl()
    {
    }
    public boolean equals(Object o)
    {
        if (o==null)
        {
            return false;
        }
        if (!(o instanceof ComboItemImpl))
        {
            return false;
        }
        return ((ComboItemImpl)o).getUniqueID().equals(this.getUniqueID());
    }
    
    public String getUniqueID()
    {
        return uniqueID;
    }
    
    public void setUniqueID(String uniqueID)
    {
        this.uniqueID = uniqueID;
    }
    
    public String getDisplayName()
    {
        return displayName;
    }
    
    public void setDisplayName(String displayName)
    {
        this.displayName = displayName;
    }
}
